import request from '@/plugins/request';
// 患者类型列表
export function patientTypeList(data) {
    return request({
      url: "/v1/patient/patient-type/index",
      method: "get",
      params: data,
    });
}
  
  //更新患者类型
export function updatePatientType(data) {
    return request({
        url: "/v1/patient/patient-type/update-patient-type",
        method: "post",
        data,
    });
}

//删除患者类型
export function deletePatientType(data) {
    return request({
        url: "/v1/patient/patient-type/delete-patient-type",
        method: "post",
        data,
    });
}

// 业务项目列表
export function treatmentProjectList(data) {
    return request({
      url: "/v1/base/treatment-project/index",
      method: "get",
      params: data,
    });
}
  
  //更新业务项目
export function updateTreatmentProject(data) {
    return request({
        url: "/v1/base/treatment-project/update-treatment-project",
        method: "post",
        data,
    });
}

//删除业务项目
export function deleteTreatmentProject(data) {
    return request({
        url: "/v1/base/treatment-project/delete-treatment-project",
        method: "post",
        data,
    });
}
